	</body>
</html>
<script type="text/javascript">
	// 显示图片
	function show_img(obj){
		var imgurl = $(obj).attr('src');
		var res = getMousePos();
		var html = '<div style="background:#fff;position:absolute;width:200px;border:solid 1px #cdcdcd;border-radius:6px;padding:2px;left:'+res.x+'px;top:'+res.y+'px;z-index:1000" id="preview">\
				<img style="width:100%;border-radius:6px;" src="'+imgurl+'">\
			</div>';
		$('body').append(html);
	}
	// 隐藏图片
	function hide_img(){
		$('#preview').remove();
	}
	// 图片位置计算
	function getMousePos(event) {
		var e = event || window.event;
		var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
		var scrollY = document.documentElement.scrollTop || document.body.scrollTop;
		var x = e.pageX || e.clientX + scrollX;
		var y = e.pageY || e.clientY + scrollY;
		return { 'x': x, 'y': y };
	}
	// 删除图片
	function deleteImage(path,obj){
		$(obj).closest('.upload_pic_li').remove();
	}
</script>